//
//  OutputPassageViewController.h
//  NotMadLibs
//
//  Created by crpatte2 on 11/2/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MessageUI/MessageUI.h>


@interface OutputPassageViewController : UIViewController <MFMessageComposeViewControllerDelegate, MFMailComposeViewControllerDelegate, UINavigationControllerDelegate> {
    UITextView *textView;
    NSString *inputPath;
    NSMutableArray *inputtedWords;
    UIImageView *background;
}

@property (nonatomic, retain) IBOutlet UITextView *textView;
@property (nonatomic, retain) NSString *inputPath;
@property (nonatomic, retain) NSMutableArray *inputtedWords;
@property (nonatomic, retain) IBOutlet UIImageView *background;

-(NSString *)loadText:(NSString *) path;
-(NSString *)parse:(NSString *)input;
-(NSString *)parseForEmail:(NSString *)input;

-(IBAction)sendEmail:(id)sender;
-(IBAction)sendInAppSMS:(id)sender;

@end
